package com.hsav.kcxb.adapter.common;

import android.view.View;

import java.util.List;

/**
 * Created by zhao on 17-4-29.
 */

public abstract class AbsListManager<T> {

    protected List<T> mDataList;
    protected int mLayoutId;

    public AbsListManager(List<T> dataList,int layoutId){
        this.mDataList = dataList;
        this.mLayoutId= layoutId;
    }

    public int getLayoutId(){
        return this.mLayoutId;
    }

    public List<T> getDataList(){
        return mDataList;
    }

    public abstract void bindDataView(View convertView, T item);
}
